Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caccl-send-request

Package Overview
Dependencies
Maintainers
0
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caccl-send-request

The default request sender used throughout the CACCL project.

  • 2.2.16
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

caccl-send-request

The default request sender used throughout the CACCL project.

Part of the CACCL library

Canvas
App
Complete
Connection
Library

Description

Sends an http request, handles paging, retries failed requests, and processes the response.

ArgumentTypeDescriptionDefault
hoststringhost to send the request tonone
pathstringpath to send the request tonone
methodstringhttp method to useGET
paramsobjectquery/body/data to include in the request{}
headersobjectheaders to include in the request{}
numRetriesnumbernumber of times to retry the request if it fails0
ignoreSSLIssuesbooleanif true, ignores self-signed certificate issuesfalse usually, true if host is localhost:8088

Returns: Promise.<CACCLError|object> Returns promise that resolves with { body, status, headers } on success, rejects with CACCLError (see caccl-error on npm) on failure.

Note: This function sends cross-origin credentials if process.env.NODE_ENV equals development.

Keywords

FAQs

Package last updated on 03 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc